package org.fuys.coder.domain.auth.service.vertify.token;

import org.fuys.coder.common.entity.Pair;

/**
 * @projectName: fuys-low-coder
 * @package: org.fuys.coder.domain.auth.service.vertify.token
 * @className: ITrustTokenService
 * @author: WangJing
 * @description: 需要token的操作服务
 * @date: 2024/8/11 11:13
 * @version: 1.0
 */
public interface ITrustTokenService {
    public Pair<String[],Long[]> operationToken(Integer userId, Long substanceId, String... types);
    public boolean checkToken(Integer userId,Long substanceId,String type,String token);
}
